package com.dragon.modules.yuegou.mapper.order;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.dragon.modules.yuegou.entity.order.OrderRefundDetailEntity;
import com.dragon.modules.yuegou.model.order.RefundInfo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

/**
 * 退款明细(单品) Mapper接口
 *
 * @author pbuilder generated
 * @date 2019-08-17 15:16:41
 * @version 2.0
 */
@Component("ordOrderRefundDetailMapper")
public interface OrderRefundDetailMapper extends BaseMapper<OrderRefundDetailEntity> {
	
	/**
	 * 根据会员ID和商圈查询会员退款订单编号和goodsids以及金额
	 * @param buyerId
	 * @param busdId
	 * @return
	 */
	IPage<RefundInfo> getRefundInfo(IPage<RefundInfo> page,@Param("buyerId") String buyerId, @Param("busdId") String busdId);

	/**
	 * 根据会员ID和商圈查询会员退款订单编号和goodsids以及金额
	 * @param buyerId
	 * @param busdId
	 * @return
	 */
	IPage<RefundInfo> refundOrderGoodList(IPage<RefundInfo> page,@Param("buyerId") String buyerId, @Param("busdId") String busdId, @Param("orderType") Integer orderType);

}
